import { ApiProperty, OmitType } from '@nestjs/swagger';
import { WebsitesDto } from 'src/db/dto';
import { ResponseBodyAllDto, ResponseBodyPaginationDto } from 'src/dto';

export class ReturnWebsiteTypeDto extends OmitType(WebsitesDto, ['isDeleted']) {

}

export class ReturnWebsitesPaginationDto extends ResponseBodyPaginationDto {
  @ApiProperty({
    type: [WebsitesDto]
  })
  data: WebsitesDto[]
}

export class ReturnWebsitesAllDto extends ResponseBodyAllDto {
  @ApiProperty({
    type: [WebsitesDto]
  })
  data: WebsitesDto[]
}

